home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code2 / r3rmanag.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  6.4 KB  |  223 lines

  1.  
  2. // JavaScript wrapper for inc/real/code2/r3rmanag.h
  3. // Auto generated file, do not modify by hand
  4. // Copyrights 2002, Realsoft Graphics Oy
  5.  
  6. var R3_RMANAGER_H = 1;
  7. include("oops/r3root.js")
  8.  
  9.  
  10. var R3CLID_RMANAGER = 630;
  11.  
  12.  
  13. // ==== Methods ==== 
  14.  
  15.  
  16. // p3: ?, if TRUE possible intermediate render boxes will not be deleted 
  17.  
  18. R3RMNGM_CANCEL = 630001;
  19.  
  20. function _R3RMNGM_CANCEL(p3) {
  21.   this.r3DoA(R3RMNGM_CANCEL, p3);
  22. }
  23.  
  24. // Description: Class method which collects material names of active materials.
  25. // p1: ?, address of an initialised list header. Names are added to this list using
  26. //  allocated R3NODE structures. Caller must free the nodes after use.
  27. // p2: object, address of geometry object layer determining material use 
  28. // p3: object, address of material layer
  29. //  Note: caller must take care of layer locking. 
  30.  
  31. R3RMNGCM_COLLECTUSEDMATE = 630003;
  32.  
  33. function _R3RMNGCM_COLLECTUSEDMATE(p1, p2, p3) {
  34.   this.r3DoA3(R3RMNGCM_COLLECTUSEDMATE, p1, p2, p3);
  35. }
  36.  
  37.  
  38. R3RMNG_ADDPOSTCHANNEL = 630004;
  39.  
  40. function _R3RMNG_ADDPOSTCHANNEL() {
  41.   this.r3DoA(R3RMNG_ADDPOSTCHANNEL);
  42. }
  43.  
  44.  
  45. // ==== Attributes ==== 
  46.  
  47.  
  48. // R3RMNGA_Renderer ?renderer 
  49. R3RMNGA_Renderer = 630500;
  50. function SetR3RMNGA_Renderer(value) {
  51.   this.r3Set(R3RMNGA_Renderer, value); // R3OBJ*
  52. }
  53.  
  54. function GetR3RMNGA_Renderer() {
  55.   var value = 0;
  56.   return this.r3Get(R3RMNGA_Renderer, value); // R3OBJ*
  57. }
  58.  
  59. // R3RMNGA_EffectName ?name of render box post processing config 
  60. R3RMNGA_EffectName = 630508;
  61. function SetR3RMNGA_EffectName(value) {
  62.   this.r3Set(R3RMNGA_EffectName, value); // char*
  63. }
  64.  
  65. function GetR3RMNGA_EffectName() {
  66.   var value = "";
  67.   return this.r3Get(R3RMNGA_EffectName, value); // char*
  68. }
  69.  
  70. // R3RMNGA_ProgressIndicato objectrmanager can use a progress indicator, see r3progre.h 
  71. R3RMNGA_ProgressIndicato = 630522;
  72. function SetR3RMNGA_ProgressIndicato(value) {
  73.   this.r3Set(R3RMNGA_ProgressIndicato, value); // R3OBJ
  74. }
  75.  
  76. function GetR3RMNGA_ProgressIndicato() {
  77.   var value = 0;
  78.   return this.r3Get(R3RMNGA_ProgressIndicato, value); // R3OBJ
  79. }
  80.  
  81. // R3RMNGA_Resume booleancontinue from current box  
  82. R3RMNGA_Resume = 630523;
  83. function SetR3RMNGA_Resume(value) {
  84.   this.r3Set(R3RMNGA_Resume, value); // R3BOOL
  85. }
  86.  
  87. function GetR3RMNGA_Resume() {
  88.   var value = 0;
  89.   return this.r3Get(R3RMNGA_Resume, value); // R3BOOL
  90. }
  91.  
  92. // R3RMNGA_ProjectString ?project specific name to make temp files unique 
  93. R3RMNGA_ProjectString = 630524;
  94. function SetR3RMNGA_ProjectString(value) {
  95.   this.r3Set(R3RMNGA_ProjectString, value); // char*
  96. }
  97.  
  98. function GetR3RMNGA_ProjectString() {
  99.   var value = "";
  100.   return this.r3Get(R3RMNGA_ProjectString, value); // char*
  101. }
  102.  
  103. // R3RMNGA_ReportWhenCancel integercancel method 
  104. R3RMNGA_ReportWhenCancel = 630525;
  105. function SetR3RMNGA_ReportWhenCancel(value) {
  106.   this.r3Set(R3RMNGA_ReportWhenCancel, value); // R3INT
  107. }
  108.  
  109. function GetR3RMNGA_ReportWhenCancel() {
  110.   var value = 0;
  111.   return this.r3Get(R3RMNGA_ReportWhenCancel, value); // R3INT
  112. }
  113.  
  114. // R3RMNGA_BackupName ?name of the raytarce backup image - read only 
  115. R3RMNGA_BackupName = 630528;
  116. function SetR3RMNGA_BackupName(value) {
  117.   this.r3Set(R3RMNGA_BackupName, value); // char*
  118. }
  119.  
  120. function GetR3RMNGA_BackupName() {
  121.   var value = "";
  122.   return this.r3Get(R3RMNGA_BackupName, value); // char*
  123. }
  124.  
  125. // R3RMNGA_BackupRT booleanparameter for R3MNGM_RENDER 
  126. R3RMNGA_BackupRT = 630529;
  127. function SetR3RMNGA_BackupRT(value) {
  128.   this.r3Set(R3RMNGA_BackupRT, value); // R3BOOL
  129. }
  130.  
  131. function GetR3RMNGA_BackupRT() {
  132.   var value = 0;
  133.   return this.r3Get(R3RMNGA_BackupRT, value); // R3BOOL
  134. }
  135.  
  136. // R3RMNGA_PostProcFile ?name of a file for post processing 
  137. R3RMNGA_PostProcFile = 630530;
  138. function SetR3RMNGA_PostProcFile(value) {
  139.   this.r3Set(R3RMNGA_PostProcFile, value); // char*
  140. }
  141.  
  142. function GetR3RMNGA_PostProcFile() {
  143.   var value = "";
  144.   return this.r3Get(R3RMNGA_PostProcFile, value); // char*
  145. }
  146.  
  147. // R3RMNGA_ImageEffect ?name of full image post processing config 
  148. R3RMNGA_ImageEffect = 630531;
  149. function SetR3RMNGA_ImageEffect(value) {
  150.   this.r3Set(R3RMNGA_ImageEffect, value); // char*
  151. }
  152.  
  153. function GetR3RMNGA_ImageEffect() {
  154.   var value = "";
  155.   return this.r3Get(R3RMNGA_ImageEffect, value); // char*
  156. }
  157.  
  158. // R3RMNGA_FieldEffect ?name of post processing config for field processing 
  159. R3RMNGA_FieldEffect = 630532;
  160. function SetR3RMNGA_FieldEffect(value) {
  161.   this.r3Set(R3RMNGA_FieldEffect, value); // char*
  162. }
  163.  
  164. function GetR3RMNGA_FieldEffect() {
  165.   var value = "";
  166.   return this.r3Get(R3RMNGA_FieldEffect, value); // char*
  167. }
  168.  
  169. // R3RMNGA_FrameEffect ?name of post processing config for frame processing 
  170. R3RMNGA_FrameEffect = 630533;
  171. function SetR3RMNGA_FrameEffect(value) {
  172.   this.r3Set(R3RMNGA_FrameEffect, value); // char*
  173. }
  174.  
  175. function GetR3RMNGA_FrameEffect() {
  176.   var value = "";
  177.   return this.r3Get(R3RMNGA_FrameEffect, value); // char*
  178. }
  179.  
  180. var R3RMUF_WORLD = 1;
  181. var R3RMUF_LIBS = 2;
  182. var R3RMUF_CAMERA = 4;
  183.  
  184.  
  185. function r3Rmanager () { 
  186.    this.base = r3God;
  187.    if(arguments.length) {
  188.       this.base(R3CLID_RMANAGER, arguments);
  189.    }
  190.    // Methods
  191.    this.CANCEL=_R3RMNGM_CANCEL;
  192.    this.COLLECTUSEDMATE=_R3RMNGCM_COLLECTUSEDMATE;
  193.    this.ADDPOSTCHANNEL=_R3RMNG_ADDPOSTCHANNEL;
  194.  
  195.    // Attributes
  196.    this.GetRenderer=GetR3RMNGA_Renderer;
  197.    this.SetRenderer=SetR3RMNGA_Renderer;
  198.    this.GetEffectName=GetR3RMNGA_EffectName;
  199.    this.SetEffectName=SetR3RMNGA_EffectName;
  200.    this.GetProgressIndicato=GetR3RMNGA_ProgressIndicato;
  201.    this.SetProgressIndicato=SetR3RMNGA_ProgressIndicato;
  202.    this.GetResume=GetR3RMNGA_Resume;
  203.    this.SetResume=SetR3RMNGA_Resume;
  204.    this.GetProjectString=GetR3RMNGA_ProjectString;
  205.    this.SetProjectString=SetR3RMNGA_ProjectString;
  206.    this.GetReportWhenCancel=GetR3RMNGA_ReportWhenCancel;
  207.    this.SetReportWhenCancel=SetR3RMNGA_ReportWhenCancel;
  208.    this.GetBackupName=GetR3RMNGA_BackupName;
  209.    this.SetBackupName=SetR3RMNGA_BackupName;
  210.    this.GetBackupRT=GetR3RMNGA_BackupRT;
  211.    this.SetBackupRT=SetR3RMNGA_BackupRT;
  212.    this.GetPostProcFile=GetR3RMNGA_PostProcFile;
  213.    this.SetPostProcFile=SetR3RMNGA_PostProcFile;
  214.    this.GetImageEffect=GetR3RMNGA_ImageEffect;
  215.    this.SetImageEffect=SetR3RMNGA_ImageEffect;
  216.    this.GetFieldEffect=GetR3RMNGA_FieldEffect;
  217.    this.SetFieldEffect=SetR3RMNGA_FieldEffect;
  218.    this.GetFrameEffect=GetR3RMNGA_FrameEffect;
  219.    this.SetFrameEffect=SetR3RMNGA_FrameEffect;
  220. }
  221.  
  222. r3Rmanager.prototype=new r3Root;
  223. // inc/real/code2/r3rmanag.h_H